package com.xbongbong.pro.formexplain.pojo;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;

/**
 * @author 吴峰
 * @version v1.0
 * @date 2019/12/9 14:40
 * @since v1.0
 */
@Getter
@Setter
@ToString
public class ValueTypePojo implements Serializable {

    private static final long serialVersionUID = -8416429133981851066L;
    /**
     * 类型
     * @see com.xbongbong.pro.enums.businessrule.enums.RuleValueTypeEnum
     */
    private Integer type;

    /**
     * 固定值/动态值
     */
    private String name;

    public ValueTypePojo(Integer type, String name) {
        this.type = type;
        this.name = name;
    }
}
